#ifndef TICTACTOE_H
#define TICTACTOE_H

#include <QDialog>
#include <QLabel>
#include "button.h"

class TicTacToe : public QDialog
{
Q_OBJECT;
QLabel * m_label;
Button * m_buttons[9];
int m_turns[9];
bool m_nowCross;
bool m_gameFinished;

public:
    explicit TicTacToe(QWidget *parent = 0);
    bool isCross();

signals:

public slots:
    void onButtonClick();

};

#endif // TICTACTOE_H
